package com.example.demo.service;

import com.example.demo.pojo.Score;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IScoreService {
    int deleteByPrimaryKey(Integer id);

    int insert(Score record);

    int insertSelective(Score record);

    Score selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Score record);

    int updateByPrimaryKey(Score record);

    List<Score> selectScore();

    List<Score> selectScoreByOpenid(String openid);

    Score selectScoreByOpenidLimit(String openid);

    List<Score> selectScoreByIfc(String ifc);

    List<Score> selectScoreByOpenidGp(String openid);

    List<Score> selectScoreByTid();

    List<Score> selectScoreByOpenidTid(@Param("openid")String openid, @Param("tid")Integer tid);
}